package com.itheima.d3_abstract;

abstract public class Anmials {
   private String name;

    public Anmials() {
    }

    public Anmials(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    abstract public void cry();

}
